//
//  AddTallyViewController.h
//  Exam13-2b
//
//  Created by 孙晓晔 on 2017/4/29.
//  Copyright © 2017年 孙晓晔. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Tally.h"

@class AddTallyViewController;

@protocol AddTallyDelegate <NSObject>

- (void)addTally:(Tally *)tally;
- (void)editTally:(Tally *)tally;
- (void)updateTally:(Tally *)tally;
- (void)deleteTally:(Tally *)tally;
@end

@interface AddTallyViewController : UIViewController

-(void)selectTally:(Tally*)tally;

@property(nonatomic,strong) id<AddTallyDelegate> tallyDelegate;
@end
